import { Vector3 } from 'three-legacy';

export enum State {
  NONE,
  DRAW,
  FINISH,
}

export type MouseState = State.NONE | State.DRAW | State.FINISH;

export interface TrackingData {
  vertexs: Vector3[];
}

export interface ExtrudeDialogProps {
  title: string;
  onClose: () => void;
}

export enum CircleRelation {
  // 内切圆
  inscribedCircle = 1,
  // 外切圆
  circumscribedCircle = 2,
}
export enum DrawMethod {
  Mouse = 1,
  Input = 2,
}
export interface Constraint {
  edgeCount: number;
  circleRelation: CircleRelation;
}
